﻿using B.S.DataBase.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Infrastructure
{
    public class BussionDbContext : DbContext
    {
        public BussionDbContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 养殖信息表
        /// </summary>
        public DbSet<Farm>  farms { get; set; }
        /// <summary>
        /// 企业表
        /// </summary>
        public DbSet<Firm> Firms { get; set; }
        /// <summary>
        /// 免疫信息
        /// </summary>
        public DbSet<Immune> Immunes { get; set; }
        /// <summary>
        /// 屠宰信息
        /// </summary>
        public DbSet<Kill> Kills { get; set; }
        /// <summary>
        /// 图片表
        /// </summary>
        public DbSet<Picture> Pictures { get; set; }
        /// <summary>
        /// 商品表
        /// </summary>
        public DbSet<Product> Products { get; set; }
        /// <summary>
        /// 商品类型表
        /// </summary>
        public DbSet<ProductType> ProductTypes { get; set; }
        /// <summary>
        /// 供应商表
        /// </summary>
        public DbSet<Supplier> Suppliers { get; set; }
    }
}
